package com.sec.foodit;

import android.app.Activity;
import android.app.ActivityManager;
import android.app.AlertDialog;
import android.content.DialogInterface;
import android.content.Intent;
import android.os.Bundle;
import android.view.KeyEvent;
import android.view.Menu;
import android.view.MenuInflater;
import android.view.MenuItem;

import com.nhn.android.maps.NMapActivity;

public class PostViewActivity extends NMapActivity {
	
	private com.sec.foodit.ActivityManager am = com.sec.foodit.ActivityManager.getInstance();

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_post_view);
		getActionBar().hide();
		am.addActivity(this);
	}

	@Override
	public boolean onCreateOptionsMenu(Menu menu) {
		MenuInflater menuInflater = getMenuInflater(); 
		menuInflater.inflate(R.menu.activity_tabs, menu); 
		return true; 
	}
	
	@Override
	protected void onDestroy() {
		super.onDestroy();
		am.removeActivity(this);
	}

}
